package com.lms.lambda;

import java.util.function.Supplier;

/**
 * @Author: 李孟帅
 * @CreateTime: 2020-05-12 08:02
 * @Description: ${Description}
 */
public class SupplierDemo {
    public static void main(String[] args) {
        Supplier<Boolean> supplier = () -> true;
        Boolean flag = supplier.get();
        System.out.println(flag);
    }
}
